package com.xyh.transaction.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Cart extends BaseEntity {

    private Integer goodsId;

    private Integer userId;

    private Long count;

    private Integer selected; // 0：未选中 1：选中
}
